
package com.thinkgem.jeesite.common.component.redis.element;

import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

import com.thinkgem.jeesite.common.component.redis.service.PPrintListener;

/** 
 * 放置rds针对不同元素构成的组合数据操作
 * 每个元素操作自行构造对应的泛型转换
 *
 */
public class RdsPom {

	public RdsPom(Jedis jedis,JedisPool pool,PPrintListener listener) {
	    setRdsCommon(new RdsCommon(jedis));
	    setRdsCtrl(new RdsCtrl(jedis));
	    setRdsHash(new RdsHash(jedis));
	    setRdsLists(new RdsLists(jedis));
	    setRdsLock(new RdsLock(jedis,pool));
	    setRdsPersist(new RdsPersist(jedis));
	    setRdsPipeline(new RdsPipeline(jedis));
	    setRdsPublish(new RdsPublish(jedis,listener));
	    setRdsRemote(new RdsRemote(jedis));
	    setRdsSets(new RdsSets(jedis));
	    setRdsSort(new RdsSort(jedis));
	    setRdsString(new RdsString(jedis));
	    setRdsSubscribe(new RdsSubscribe(jedis,listener));
	    setRdsTransact(new RdsTransact(jedis));
	    setRdsZSets(new RdsZSets(jedis));
	}

	public RdsCommon getRdsCommon() {
    	return rdsCommon;
    }

	public void setRdsCommon(RdsCommon rdsCommon) {
    	this.rdsCommon = rdsCommon;
    }

	public RdsCtrl getRdsCtrl() {
    	return rdsCtrl;
    }

	public void setRdsCtrl(RdsCtrl rdsCtrl) {
    	this.rdsCtrl = rdsCtrl;
    }

	public RdsHash getRdsHash() {
    	return rdsHash;
    }

	public void setRdsHash(RdsHash rdsHash) {
    	this.rdsHash = rdsHash;
    }

	public RdsLists getRdsLists() {
    	return rdsLists;
    }

	public void setRdsLists(RdsLists rdsLists) {
    	this.rdsLists = rdsLists;
    }

	public RdsLock getRdsLock() {
    	return rdsLock;
    }

	public void setRdsLock(RdsLock rdsLock) {
    	this.rdsLock = rdsLock;
    }

	public RdsPersist getRdsPersist() {
    	return rdsPersist;
    }

	public void setRdsPersist(RdsPersist rdsPersist) {
    	this.rdsPersist = rdsPersist;
    }

	public RdsPipeline getRdsPipeline() {
    	return rdsPipeline;
    }

	public void setRdsPipeline(RdsPipeline rdsPipeline) {
    	this.rdsPipeline = rdsPipeline;
    }

	public RdsPublish getRdsPublish() {
    	return rdsPublish;
    }

	public void setRdsPublish(RdsPublish rdsPublish) {
    	this.rdsPublish = rdsPublish;
    }

	public RdsRemote getRdsRemote() {
    	return rdsRemote;
    }

	public void setRdsRemote(RdsRemote rdsRemote) {
    	this.rdsRemote = rdsRemote;
    }

	public RdsSets getRdsSets() {
    	return rdsSets;
    }

	public void setRdsSets(RdsSets rdsSets) {
    	this.rdsSets = rdsSets;
    }

	public RdsSort getRdsSort() {
    	return rdsSort;
    }

	public void setRdsSort(RdsSort rdsSort) {
    	this.rdsSort = rdsSort;
    }

	public RdsString getRdsString() {
    	return rdsString;
    }

	public void setRdsString(RdsString rdsString) {
    	this.rdsString = rdsString;
    }

	public RdsSubscribe getRdsSubscribe() {
    	return rdsSubscribe;
    }

	public void setRdsSubscribe(RdsSubscribe rdsSubscribe) {
    	this.rdsSubscribe = rdsSubscribe;
    }

	public RdsTransact getRdsTransact() {
    	return rdsTransact;
    }

	public void setRdsTransact(RdsTransact rdsTransact) {
    	this.rdsTransact = rdsTransact;
    }

	public RdsZSets getRdsZSets() {
    	return rdsZSets;
    }

	public void setRdsZSets(RdsZSets rdsZSets) {
    	this.rdsZSets = rdsZSets;
    }

	private RdsCommon rdsCommon;
	private RdsCtrl rdsCtrl;
	private RdsHash rdsHash;
	private RdsLists rdsLists;
	private RdsLock rdsLock;
	private RdsPersist rdsPersist;
	private RdsPipeline rdsPipeline;
	private RdsPublish rdsPublish;
	private RdsRemote rdsRemote;
	private RdsSets rdsSets;
	private RdsSort rdsSort;
	private RdsString rdsString;
	private RdsSubscribe rdsSubscribe;
	private RdsTransact rdsTransact;
	private RdsZSets rdsZSets;
}
